package com.haidechizi.i18n.code.generator.configuration;

import com.haidechizi.i18n.code.generator.common.propconvert.generator.JavaPropertiesGenerator;
import com.haidechizi.i18n.code.generator.common.propconvert.generator.PropGenerators;
import com.haidechizi.i18n.code.generator.common.propconvert.generator.VueGenerator;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author wangdejun
 * @create 2020/10/17 10:11
 */
@Configuration
public class PropGeneratorConfiguration {

    @Bean
    public JavaPropertiesGenerator javaPropertiesGenerator() {
        return new JavaPropertiesGenerator();
    }

    @Bean
    public VueGenerator vueGenerator() {
        return new VueGenerator();
    }

    @Bean
    public PropGenerators propGenerators() {
        return new PropGenerators();
    }
}
